fix: add tool annotations to server-fetch#3876
fix: add tool annotations to server-fetch#3876Chelebii wants to merge 1 commit intomodelcontextprotocol:mainfrom
Conversation
|
@claude review |
|
Claude finished @cliffhall's task in 1m 36s —— View job PR Review: fix: add tool annotations to server-fetch
SummaryThis is a clean, focused PR that adds What changed
annotations=ToolAnnotations(
readOnlyHint=True,
destructiveHint=False,
idempotentHint=True,
openWorldHint=True,
),Annotation value review
Minor observations
Code quality
VerdictLGTM. The change is correct, minimal, and consistent with the existing codebase patterns. No functional or security concerns. |
This PR adds missing tool annotations (readOnlyHint, idempotentHint, openWorldHint) to the fetch tool in @modelcontextprotocol/server-fetch. This follows the pattern in other reference servers and provides better metadata for MCP clients. Fixes #3572.